<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
         <li class="active"><a>大客户管理</a></li>
        <li><a href="{:U('Bdrun/shop_add')}">新增大客户</a></li>
    </ul>
    <form class="well form-search" method="post" action="{:U('Bdrun/shop_list')}">
        客户名称：<input type="text" name="formget[shop_name]" style="width: 100px;" value="{$formget.shop_name}"> &nbsp;&nbsp;
        客户地址：<input type="text" name="formget[shop_address]" style="width: 100px;" value="{$formget.shop_address}"> &nbsp;&nbsp;

        </select> &nbsp;&nbsp;
        <input type="submit" class="btn btn-primary" value="搜索" />
    </form>
    总数：{$total_count}人
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th align="center">序号</th>
                <th>所属区域</th>
                <th>大客户名称</th>
                <th>大客户地址</th>
                <th>创建时间</th>
                <th>经营范围</th>
                <th align="center">{:L('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="lists" item="vo" key="k">
                <tr>
                    <td align="center">{$k+1}</td>
                    <td>{$vo.shop_area}</td>
                    <td>{$vo.shop_name}</td>
                    <td>{$vo['shop_address']}</td>
                    <td>{$vo.time}</td>
                    <td>{$vo.shop_scope}</td>
                    <td align="center">
                        <a href="{:U('bdrun/shop_edit',array('shop_id'=>$vo['shop_id'],'formget'=>$formget))}">修改 |</a>
                        <a href="{:U('bdrun/shop_del',array('id'=>$vo['shop_id'],'formget'=>$formget))}">删除 | </a>
                        <a href="{:U('bdrun/shop_see',array('shop_id'=>$vo['shop_id'],'formget'=>$formget))}">查看 </a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <if condition="empty($lists)">
            <div style="padding: 30px;text-align: center;color: #999999">
                <i class="fa fa-database" style="font-size: 38px"></i><br />
                暂无数据
            </div>
        </if>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>